package com.dns.util;

public class Constants {

	public static final int MSG_INQUIRY=0;
	public static final int MSG_UPDATE=1;
    public static final int MSG_RESPONSE=2; 
    public static final int MSG_REGISTER=3; 
	
	public final static String PRIMARY_HOST_NAME="localhost";
	public final static String PRIMARY_HOST_ADDRESS="";
	public final static int PRIMARY_HOST_PORT=9000;
	public final static int CLIENT_PORT=8000;
	
	public final static int DATA_BUFFER_SIZE=256;
	
	public final static String CLIENT="client";
	public final static String PRIMARY="primary";
	public final static String SECONDARY="secondary";

	public final static String LOCAL_IP="127.0.0.1";
	
	public final static int SUCCESS=1;
	public final static int FAILURE=0;
	
	public final static int TTL_THREAD_SLEEP=240000;
}
